<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QxOrm: C:/Dvlp/_Perso/QxOrm/include/QxService/QxTransaction.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_qxorm.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QxOrm
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
   <div id="projectbrief">C++ Object Relational Mapping library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_qx_transaction_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">QxTransaction.h</div>  </div>
</div>
<div class="contents">
<a href="_qx_transaction_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/****************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment">**</span>
<a name="l00003"></a>00003 <span class="comment">** http://www.qxorm.com/</span>
<a name="l00004"></a>00004 <span class="comment">** Copyright (C) 2013 Lionel Marty (contact@qxorm.com)</span>
<a name="l00005"></a>00005 <span class="comment">**</span>
<a name="l00006"></a>00006 <span class="comment">** This file is part of the QxOrm library</span>
<a name="l00007"></a>00007 <span class="comment">**</span>
<a name="l00008"></a>00008 <span class="comment">** This software is provided &#39;as-is&#39;, without any express or implied</span>
<a name="l00009"></a>00009 <span class="comment">** warranty. In no event will the authors be held liable for any</span>
<a name="l00010"></a>00010 <span class="comment">** damages arising from the use of this software</span>
<a name="l00011"></a>00011 <span class="comment">**</span>
<a name="l00012"></a>00012 <span class="comment">** Commercial Usage</span>
<a name="l00013"></a>00013 <span class="comment">** Licensees holding valid commercial QxOrm licenses may use this file in</span>
<a name="l00014"></a>00014 <span class="comment">** accordance with the commercial license agreement provided with the</span>
<a name="l00015"></a>00015 <span class="comment">** Software or, alternatively, in accordance with the terms contained in</span>
<a name="l00016"></a>00016 <span class="comment">** a written agreement between you and Lionel Marty</span>
<a name="l00017"></a>00017 <span class="comment">**</span>
<a name="l00018"></a>00018 <span class="comment">** GNU General Public License Usage</span>
<a name="l00019"></a>00019 <span class="comment">** Alternatively, this file may be used under the terms of the GNU</span>
<a name="l00020"></a>00020 <span class="comment">** General Public License version 3.0 as published by the Free Software</span>
<a name="l00021"></a>00021 <span class="comment">** Foundation and appearing in the file &#39;license.gpl3.txt&#39; included in the</span>
<a name="l00022"></a>00022 <span class="comment">** packaging of this file. Please review the following information to</span>
<a name="l00023"></a>00023 <span class="comment">** ensure the GNU General Public License version 3.0 requirements will be</span>
<a name="l00024"></a>00024 <span class="comment">** met : http://www.gnu.org/copyleft/gpl.html</span>
<a name="l00025"></a>00025 <span class="comment">**</span>
<a name="l00026"></a>00026 <span class="comment">** If you are unsure which license is appropriate for your use, or</span>
<a name="l00027"></a>00027 <span class="comment">** if you have questions regarding the use of this file, please contact :</span>
<a name="l00028"></a>00028 <span class="comment">** contact@qxorm.com</span>
<a name="l00029"></a>00029 <span class="comment">**</span>
<a name="l00030"></a>00030 <span class="comment">****************************************************************************/</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="preprocessor">#ifdef _QX_ENABLE_QT_NETWORK</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#ifndef _QX_SERVICE_TRANSACTION_H_</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#define _QX_SERVICE_TRANSACTION_H_</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span>
<a name="l00036"></a>00036 <span class="preprocessor">#ifdef _MSC_VER</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#pragma once</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span>
<a name="l00047"></a>00047 <span class="preprocessor">#include &lt;QtCore/qdatastream.h&gt;</span>
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 <span class="preprocessor">#ifndef _QX_NO_JSON</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#include &lt;QtCore/qjsonvalue.h&gt;</span>
<a name="l00051"></a>00051 <span class="preprocessor">#endif // _QX_NO_JSON</span>
<a name="l00052"></a>00052 <span class="preprocessor"></span>
<a name="l00053"></a>00053 <span class="preprocessor">#include &lt;QtNetwork/qtcpsocket.h&gt;</span>
<a name="l00054"></a>00054 
<a name="l00055"></a>00055 <span class="preprocessor">#include &lt;<a class="code" href="_qx_bool_8h.html" title="qx_bool : QxOrm library boolean type with code and description message when an error occured...">QxCommon/QxBool.h</a>&gt;</span>
<a name="l00056"></a>00056 
<a name="l00057"></a>00057 <span class="preprocessor">#include &lt;<a class="code" href="_qx_register_internal_helper_8h.html">QxRegister/QxRegisterInternalHelper.h</a>&gt;</span>
<a name="l00058"></a>00058 
<a name="l00059"></a>00059 <span class="preprocessor">#include &lt;<a class="code" href="_ix_service_8h.html" title="Common interface for all services defined with QxService module of QxOrm library.">QxService/IxService.h</a>&gt;</span>
<a name="l00060"></a>00060 <span class="preprocessor">#include &lt;<a class="code" href="_ix_parameter_8h.html" title="Common interface for all parameters transfered by QxService module of QxOrm library.">QxService/IxParameter.h</a>&gt;</span>
<a name="l00061"></a>00061 
<a name="l00062"></a>00062 <span class="preprocessor">#include &lt;<a class="code" href="_qx_convert_8h.html" title="qx::cvt : namespace to provide global functions to convert any kind of objects to/from QString and QV...">QxConvert/QxConvert.h</a>&gt;</span>
<a name="l00063"></a>00063 
<a name="l00064"></a>00064 <span class="keyword">namespace </span>qx {
<a name="l00065"></a>00065 <span class="keyword">namespace </span>service {
<a name="l00066"></a>00066 <span class="keyword">class </span>QxTransaction;
<a name="l00067"></a>00067 } <span class="comment">// namespace service</span>
<a name="l00068"></a>00068 } <span class="comment">// namespace qx</span>
<a name="l00069"></a>00069 
<a name="l00070"></a>00070 <a class="code" href="_qx_macro_8h.html#aa569abe24f343fdc4ad5e12e156ba8a2">QX_DLL_EXPORT</a> QDataStream &amp; <a class="code" href="_qx_bool_8h.html#afdc94d6e327b3f759a44a4cbb1984b62">operator&lt;&lt; </a>(QDataStream &amp; stream, <span class="keyword">const</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html" title="qx::service::QxTransaction : transaction of QxService module (contains request from client and reply ...">qx::service::QxTransaction</a> &amp; t) BOOST_USED;
<a name="l00071"></a>00071 <a class="code" href="_qx_macro_8h.html#aa569abe24f343fdc4ad5e12e156ba8a2">QX_DLL_EXPORT</a> QDataStream &amp; <a class="code" href="_qx_bool_8h.html#a01172f4bf3386f123bdcfd8b260f977a">operator&gt;&gt; </a>(QDataStream &amp; stream, <a class="code" href="classqx_1_1service_1_1_qx_transaction.html" title="qx::service::QxTransaction : transaction of QxService module (contains request from client and reply ...">qx::service::QxTransaction</a> &amp; t) BOOST_USED;
<a name="l00072"></a>00072 
<a name="l00073"></a>00073 <span class="preprocessor">#ifndef _QX_NO_JSON</span>
<a name="l00074"></a>00074 <span class="preprocessor"></span><span class="keyword">namespace </span>qx {
<a name="l00075"></a>00075 <span class="keyword">namespace </span>cvt {
<a name="l00076"></a>00076 <span class="keyword">namespace </span>detail {
<a name="l00077"></a>00077 <span class="keyword">template</span> &lt;&gt; <span class="keyword">struct </span>QxConvert_ToJson&lt; qx::service::QxTransaction &gt;;
<a name="l00078"></a>00078 template &lt;&gt; struct QxConvert_FromJson&lt; qx::service::QxTransaction &gt;;
<a name="l00079"></a>00079 <a class="code" href="_qx_macro_8h.html#aa569abe24f343fdc4ad5e12e156ba8a2">QX_DLL_EXPORT</a> QJsonValue <a class="code" href="namespaceqx_1_1cvt_1_1detail.html#a457aaaddd05c2b8536829851783a4e74">QxConvert_ToJson_Helper</a>(const qx::service::QxTransaction &amp; t, const QString &amp; format) BOOST_USED;
<a name="l00080"></a>00080 <a class="code" href="_qx_macro_8h.html#aa569abe24f343fdc4ad5e12e156ba8a2">QX_DLL_EXPORT</a> <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="namespaceqx_1_1cvt_1_1detail.html#a29f7178bb2b0826af254c86bdeb70498">QxConvert_FromJson_Helper</a>(const QJsonValue &amp; j, qx::service::QxTransaction &amp; t, const QString &amp; format) BOOST_USED;
<a name="l00081"></a>00081 } <span class="comment">// namespace detail</span>
<a name="l00082"></a>00082 } <span class="comment">// namespace cvt</span>
<a name="l00083"></a>00083 } <span class="comment">// namespace qx</span>
<a name="l00084"></a>00084 <span class="preprocessor">#endif // _QX_NO_JSON</span>
<a name="l00085"></a>00085 <span class="preprocessor"></span>
<a name="l00086"></a>00086 namespace qx {
<a name="l00087"></a>00087 <span class="keyword">namespace </span>service {
<a name="l00088"></a>00088 
<a name="l00095"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html">00095</a> <span class="keyword">class </span><a class="code" href="_qx_macro_8h.html#aa569abe24f343fdc4ad5e12e156ba8a2">QX_DLL_EXPORT</a> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html" title="qx::service::QxTransaction : transaction of QxService module (contains request from client and reply ...">QxTransaction</a>
<a name="l00096"></a>00096 {
<a name="l00097"></a>00097 
<a name="l00098"></a>00098    <a class="code" href="_qx_register_8h.html#a76dd2a59351325f2e5ce613bc5567bdf">QX_REGISTER_FRIEND_CLASS</a>(<a class="code" href="classqx_1_1service_1_1_qx_transaction.html" title="qx::service::QxTransaction : transaction of QxService module (contains request from client and reply ...">qx::service::QxTransaction</a>)
<a name="l00099"></a>00099 
<a name="l00100"></a>00100    <span class="keyword">friend</span> QDataStream &amp; ::operator&lt;&lt; (QDataStream &amp; stream, <span class="keyword">const</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html" title="qx::service::QxTransaction : transaction of QxService module (contains request from client and reply ...">qx::service::QxTransaction</a> &amp; t);
<a name="l00101"></a>00101    <span class="keyword">friend</span> QDataStream &amp; ::operator&gt;&gt; (QDataStream &amp; stream, <a class="code" href="classqx_1_1service_1_1_qx_transaction.html" title="qx::service::QxTransaction : transaction of QxService module (contains request from client and reply ...">qx::service::QxTransaction</a> &amp; t);
<a name="l00102"></a>00102 
<a name="l00103"></a>00103 <span class="preprocessor">#ifndef _QX_NO_JSON</span>
<a name="l00104"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a7268d110d68b22ab93cb6772caff72d1">00104</a> <span class="preprocessor"></span>   <span class="keyword">friend</span> <span class="keyword">struct </span><a class="code" href="structqx_1_1cvt_1_1detail_1_1_qx_convert___to_json.html">qx::cvt::detail::QxConvert_ToJson</a>&lt; qx::service::<a class="code" href="classqx_1_1service_1_1_qx_transaction.html" title="qx::service::QxTransaction : transaction of QxService module (contains request from client and reply ...">QxTransaction</a> &gt;;
<a name="l00105"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#ab6c3bde6eaf907662b5d02c57e871f19">00105</a>    friend struct qx::cvt::detail::QxConvert_FromJson&lt; qx::service::QxTransaction &gt;;
<a name="l00106"></a>00106    friend QJsonValue qx::cvt::detail::<a class="code" href="namespaceqx_1_1cvt_1_1detail.html#a457aaaddd05c2b8536829851783a4e74">QxConvert_ToJson_Helper</a>(const qx::service::QxTransaction &amp; t, const QString &amp; format);
<a name="l00107"></a>00107    friend <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> qx::cvt::detail::<a class="code" href="namespaceqx_1_1cvt_1_1detail.html#a29f7178bb2b0826af254c86bdeb70498">QxConvert_FromJson_Helper</a>(const QJsonValue &amp; j, qx::service::QxTransaction &amp; t, const QString &amp; format);
<a name="l00108"></a>00108 <span class="preprocessor">#endif // _QX_NO_JSON</span>
<a name="l00109"></a>00109 <span class="preprocessor"></span>
<a name="l00110"></a>00110 <span class="keyword">protected</span>:
<a name="l00111"></a>00111 
<a name="l00112"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a9e14615d66f92588a9c6f65077576015">00112</a>    QString              m_sTransactionId;                   
<a name="l00113"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a6442b8a880e6e3c90f54b61013d48442">00113</a>    quint32              m_uiInputTransactionSize;           
<a name="l00114"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a12b87ee83d6fdebbcece7dca6efcc722">00114</a>    quint32              m_uiOutputTransactionSize;          
<a name="l00115"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#ad66582aed85ed0512fed33d88eccbb2d">00115</a>    QDateTime            m_dtTransactionBegin;               
<a name="l00116"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#acdefd9105a5b8c0ced7b2ed2d9e6889f">00116</a>    QDateTime            m_dtTransactionRequestSent;         
<a name="l00117"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a7bda9405b38fa18def312250098e36b3">00117</a>    QDateTime            m_dtTransactionRequestReceived;     
<a name="l00118"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#ad6334eb94e5d1088458feed5d0424dac">00118</a>    QDateTime            m_dtTransactionReplySent;           
<a name="l00119"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#ab892f2fa459d9c7a33cdf07f27ff6719">00119</a>    QDateTime            m_dtTransactionReplyReceived;       
<a name="l00120"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a33c4f1162b91134c3a0ab7524da6eebf">00120</a>    QDateTime            m_dtTransactionEnd;                 
<a name="l00121"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a1962801ace5f67d5aae60b34792202b7">00121</a>    QString              m_sIpSource;                        
<a name="l00122"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a2d5f1497a261723682f50742ec77aff7">00122</a>    QString              m_sIpTarget;                        
<a name="l00123"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a43f3228b0e9ac588961e58efc09c7cc3">00123</a>    long                 m_lPortSource;                      
<a name="l00124"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a565dbc03306ffcc9bd8ee65669755b09">00124</a>    long                 m_lPortTarget;                      
<a name="l00125"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#aa09142c466fcb61bc2e6a4ecab6fd954">00125</a>    QString              m_sServiceName;                     
<a name="l00126"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a93e05fdfa4b79dff7ae94bab5b1aaab8">00126</a>    QString              m_sServiceMethod;                   
<a name="l00127"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a1161a53beb8b5703e47eec02b451d662">00127</a>    <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a>              m_bMessageReturn;                   
<a name="l00128"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a24af173b07c19b0a18382012422daf2c">00128</a>    <a class="code" href="namespaceqx_1_1service.html#a2fdd59b1ededd095f981e90a8d6092f8">IxParameter_ptr</a>      m_pInputParameter;                  
<a name="l00129"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#ab2ac7d5edf821b95957a69d059896b9f">00129</a>    <a class="code" href="namespaceqx_1_1service.html#a2fdd59b1ededd095f981e90a8d6092f8">IxParameter_ptr</a>      m_pOutputParameter;                 
<a name="l00130"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a6d4a9b69e7e3576a36a48ca336708a8a">00130</a>    <a class="code" href="namespaceqx_1_1service.html#a5aa652243bd54ba801be06612c21db9b">IxService_ptr</a>        m_pServiceInstance;                 
<a name="l00131"></a>00131 
<a name="l00132"></a>00132 <span class="keyword">public</span>:
<a name="l00133"></a>00133 
<a name="l00134"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a67d068c5b352d7c70b48de3fa0be233b">00134</a>    <a class="code" href="classqx_1_1service_1_1_qx_transaction.html" title="qx::service::QxTransaction : transaction of QxService module (contains request from client and reply ...">QxTransaction</a>() : m_uiInputTransactionSize(0), m_uiOutputTransactionSize(0), m_lPortSource(0), m_lPortTarget(0) { ; }
<a name="l00135"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a888f7a49c5373e9aa8e63d7004d2875e">00135</a>    <span class="keyword">virtual</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a888f7a49c5373e9aa8e63d7004d2875e">~QxTransaction</a>() { ; }
<a name="l00136"></a>00136 
<a name="l00137"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a1f6fc31149f30d4b28c8158820cdd68b">00137</a>    QString <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a1f6fc31149f30d4b28c8158820cdd68b">getTransactionId</a>()<span class="keyword"> const                      </span>{ <span class="keywordflow">return</span> m_sTransactionId; }
<a name="l00138"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#af4cd206ab4568fdc59c61074e27a0756">00138</a>    quint32 <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#af4cd206ab4568fdc59c61074e27a0756">getInputTransactionSize</a>()<span class="keyword"> const               </span>{ <span class="keywordflow">return</span> m_uiInputTransactionSize; }
<a name="l00139"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a7c969306fa217abbe8b5aee9cf0d7847">00139</a>    quint32 <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a7c969306fa217abbe8b5aee9cf0d7847">getOutputTransactionSize</a>()<span class="keyword"> const              </span>{ <span class="keywordflow">return</span> m_uiOutputTransactionSize; }
<a name="l00140"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#aa358ffaf6ecc4226371d627b6dfdd74d">00140</a>    QDateTime <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#aa358ffaf6ecc4226371d627b6dfdd74d">getTransactionBegin</a>()<span class="keyword"> const                 </span>{ <span class="keywordflow">return</span> m_dtTransactionBegin; }
<a name="l00141"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a8131171133d327288b83427c425cd3fa">00141</a>    QDateTime <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a8131171133d327288b83427c425cd3fa">getTransactionRequestSent</a>()<span class="keyword"> const           </span>{ <span class="keywordflow">return</span> m_dtTransactionRequestSent; }
<a name="l00142"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#ac70d88afa9548975f832b6b3d95095d9">00142</a>    QDateTime <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#ac70d88afa9548975f832b6b3d95095d9">getTransactionRequestReceived</a>()<span class="keyword"> const       </span>{ <span class="keywordflow">return</span> m_dtTransactionRequestReceived; }
<a name="l00143"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a17e85aa9815c296d16034187aee85ca7">00143</a>    QDateTime <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a17e85aa9815c296d16034187aee85ca7">getTransactionReplySent</a>()<span class="keyword"> const             </span>{ <span class="keywordflow">return</span> m_dtTransactionReplySent; }
<a name="l00144"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#ad4f0a1b3516487f275108045f47e8394">00144</a>    QDateTime <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#ad4f0a1b3516487f275108045f47e8394">getTransactionReplyReceived</a>()<span class="keyword"> const         </span>{ <span class="keywordflow">return</span> m_dtTransactionReplyReceived; }
<a name="l00145"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a5e6182f391917a77b07efd61828daee0">00145</a>    QDateTime <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a5e6182f391917a77b07efd61828daee0">getTransactionEnd</a>()<span class="keyword"> const                   </span>{ <span class="keywordflow">return</span> m_dtTransactionEnd; }
<a name="l00146"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#ad7c10d6a34cb793972de716e15d6368f">00146</a>    QString <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#ad7c10d6a34cb793972de716e15d6368f">getIpSource</a>()<span class="keyword"> const                           </span>{ <span class="keywordflow">return</span> m_sIpSource; }
<a name="l00147"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#afc8b2d69232f6845968f0c1154c02a44">00147</a>    QString <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#afc8b2d69232f6845968f0c1154c02a44">getIpTarget</a>()<span class="keyword"> const                           </span>{ <span class="keywordflow">return</span> m_sIpTarget; }
<a name="l00148"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#afe0c96e1285f728c773a5d2e6f1fc1d5">00148</a>    <span class="keywordtype">long</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#afe0c96e1285f728c773a5d2e6f1fc1d5">getPortSource</a>()<span class="keyword"> const                            </span>{ <span class="keywordflow">return</span> m_lPortSource; }
<a name="l00149"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#ab31db5a2825bc2cdf696846ac3311b32">00149</a>    <span class="keywordtype">long</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#ab31db5a2825bc2cdf696846ac3311b32">getPortTarget</a>()<span class="keyword"> const                            </span>{ <span class="keywordflow">return</span> m_lPortTarget; }
<a name="l00150"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a28428c91379a7bfcbada19a2193f08e0">00150</a>    QString <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a28428c91379a7bfcbada19a2193f08e0">getServiceName</a>()<span class="keyword"> const                        </span>{ <span class="keywordflow">return</span> m_sServiceName; }
<a name="l00151"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a953d0ecc401f4026e1b072b989ab0dff">00151</a>    QString <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a953d0ecc401f4026e1b072b989ab0dff">getServiceMethod</a>()<span class="keyword"> const                      </span>{ <span class="keywordflow">return</span> m_sServiceMethod; }
<a name="l00152"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#aac346f376f9f3cac05cf8562cdacc57b">00152</a>    <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#aac346f376f9f3cac05cf8562cdacc57b">getMessageReturn</a>()<span class="keyword"> const                      </span>{ <span class="keywordflow">return</span> m_bMessageReturn; }
<a name="l00153"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a44bacc696cece06a3d341331ada4d79c">00153</a>    <a class="code" href="namespaceqx_1_1service.html#a2fdd59b1ededd095f981e90a8d6092f8">IxParameter_ptr</a> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a44bacc696cece06a3d341331ada4d79c">getInputParameter</a>()<span class="keyword"> const             </span>{ <span class="keywordflow">return</span> m_pInputParameter; }
<a name="l00154"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a7f5b542f6037b25507070e036e151ffb">00154</a>    <a class="code" href="namespaceqx_1_1service.html#a2fdd59b1ededd095f981e90a8d6092f8">IxParameter_ptr</a> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a7f5b542f6037b25507070e036e151ffb">getOutputParameter</a>()<span class="keyword"> const            </span>{ <span class="keywordflow">return</span> m_pOutputParameter; }
<a name="l00155"></a>00155 
<a name="l00156"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a6d324f22a22f4d497f19627c47138fe6">00156</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a6d324f22a22f4d497f19627c47138fe6">setTransactionId</a>(<span class="keyword">const</span> QString &amp; s)                    { m_sTransactionId = s; }
<a name="l00157"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#ac1cb9034cb2381735da56fe97fd6be60">00157</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#ac1cb9034cb2381735da56fe97fd6be60">setInputTransactionSize</a>(quint32 ui)                    { m_uiInputTransactionSize = ui; }
<a name="l00158"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a2e3d7db5859937669a22082132365568">00158</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a2e3d7db5859937669a22082132365568">setOutputTransactionSize</a>(quint32 ui)                   { m_uiOutputTransactionSize = ui; }
<a name="l00159"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#af44fc80679298801fe8d820b8cefc724">00159</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#af44fc80679298801fe8d820b8cefc724">setTransactionBegin</a>(<span class="keyword">const</span> QDateTime &amp; dt)              { m_dtTransactionBegin = dt; }
<a name="l00160"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a6f2928eacef444965ba7860c7ddf0166">00160</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a6f2928eacef444965ba7860c7ddf0166">setTransactionRequestSent</a>(<span class="keyword">const</span> QDateTime &amp; dt)        { m_dtTransactionRequestSent = dt; }
<a name="l00161"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a7ff38de0f2f994733f3aa73c26178cc4">00161</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a7ff38de0f2f994733f3aa73c26178cc4">setTransactionRequestReceived</a>(<span class="keyword">const</span> QDateTime &amp; dt)    { m_dtTransactionRequestReceived = dt; }
<a name="l00162"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a8f3473b8ad26bff79ed6b9e8a4af9987">00162</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a8f3473b8ad26bff79ed6b9e8a4af9987">setTransactionReplySent</a>(<span class="keyword">const</span> QDateTime &amp; dt)          { m_dtTransactionReplySent = dt; }
<a name="l00163"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#aaeedf9e7df7151df93c49eff7fc56e60">00163</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#aaeedf9e7df7151df93c49eff7fc56e60">setTransactionReplyReceived</a>(<span class="keyword">const</span> QDateTime &amp; dt)      { m_dtTransactionReplyReceived = dt; }
<a name="l00164"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a526d83e18523148b6492989f92658424">00164</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a526d83e18523148b6492989f92658424">setTransactionEnd</a>(<span class="keyword">const</span> QDateTime &amp; dt)                { m_dtTransactionEnd = dt; }
<a name="l00165"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a365079f11f83d97fc1447805f9ba666f">00165</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a365079f11f83d97fc1447805f9ba666f">setIpSource</a>(<span class="keyword">const</span> QString &amp; s)                         { m_sIpSource = s; }
<a name="l00166"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a59680e4c26606376d2c0ba1a588fbc54">00166</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a59680e4c26606376d2c0ba1a588fbc54">setIpTarget</a>(<span class="keyword">const</span> QString &amp; s)                         { m_sIpTarget = s; }
<a name="l00167"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a3e4ece6f5ef82ca0be66d8bd1349786b">00167</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a3e4ece6f5ef82ca0be66d8bd1349786b">setPortSource</a>(<span class="keywordtype">long</span> l)                                  { m_lPortSource = l; }
<a name="l00168"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a5394053d1bd66cd2af5a4e6543e86e8a">00168</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a5394053d1bd66cd2af5a4e6543e86e8a">setPortTarget</a>(<span class="keywordtype">long</span> l)                                  { m_lPortTarget = l; }
<a name="l00169"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a4140e960fe075688782e6a392fe75f7e">00169</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a4140e960fe075688782e6a392fe75f7e">setServiceName</a>(<span class="keyword">const</span> QString &amp; s)                      { m_sServiceName = s; }
<a name="l00170"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a38481b062fc2f2336702349383c633d9">00170</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a38481b062fc2f2336702349383c633d9">setServiceMethod</a>(<span class="keyword">const</span> QString &amp; s)                    { m_sServiceMethod = s; }
<a name="l00171"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a48e22b4097f9879388deb7e27bc7d5c6">00171</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a48e22b4097f9879388deb7e27bc7d5c6">setMessageReturn</a>(<span class="keyword">const</span> <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> &amp; b)                    { m_bMessageReturn = b; }
<a name="l00172"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a292bcfb89161dbd209834eb1298f33fa">00172</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a292bcfb89161dbd209834eb1298f33fa">setInputParameter</a>(<a class="code" href="namespaceqx_1_1service.html#a2fdd59b1ededd095f981e90a8d6092f8">IxParameter_ptr</a> p)                   { m_pInputParameter = p; }
<a name="l00173"></a><a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a208e74c42cb3a4bb28e53a7883103e13">00173</a>    <span class="keywordtype">void</span> <a class="code" href="classqx_1_1service_1_1_qx_transaction.html#a208e74c42cb3a4bb28e53a7883103e13">setOutputParameter</a>(<a class="code" href="namespaceqx_1_1service.html#a2fdd59b1ededd095f981e90a8d6092f8">IxParameter_ptr</a> p)                  { m_pOutputParameter = p; }
<a name="l00174"></a>00174 
<a name="l00175"></a>00175 <span class="keyword">public</span>:
<a name="l00176"></a>00176 
<a name="l00177"></a>00177    <span class="keywordtype">void</span> executeServer();
<a name="l00178"></a>00178    <span class="keywordtype">void</span> executeClient(<a class="code" href="classqx_1_1service_1_1_ix_service.html" title="qx::service::IxService : common interface for all services defined with QxService module of QxOrm lib...">IxService</a> * pService, <span class="keyword">const</span> QString &amp; sMethod);
<a name="l00179"></a>00179 
<a name="l00180"></a>00180    QString getInfos() <span class="keyword">const</span>;
<a name="l00181"></a>00181 
<a name="l00182"></a>00182 <span class="keyword">protected</span>:
<a name="l00183"></a>00183 
<a name="l00184"></a>00184    <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> writeSocket(QTcpSocket &amp; socket);
<a name="l00185"></a>00185    <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> readSocket(QTcpSocket &amp; socket);
<a name="l00186"></a>00186 
<a name="l00187"></a>00187 };
<a name="l00188"></a>00188 
<a name="l00189"></a><a class="code" href="namespaceqx_1_1service.html#a4c5fd6d47c341024f698eebf7e49ff25">00189</a> <span class="keyword">typedef</span> qx_shared_ptr&lt;QxTransaction&gt; <a class="code" href="namespaceqx_1_1service.html#a4c5fd6d47c341024f698eebf7e49ff25">QxTransaction_ptr</a>;
<a name="l00190"></a>00190 <a class="code" href="_qx_macro_8h.html#aa569abe24f343fdc4ad5e12e156ba8a2">QX_DLL_EXPORT</a> <span class="keywordtype">void</span> <a class="code" href="namespaceqx_1_1service.html#ab34a1071d657d79724710e3120e68128">execute_client</a>(<a class="code" href="classqx_1_1service_1_1_ix_service.html" title="qx::service::IxService : common interface for all services defined with QxService module of QxOrm lib...">IxService</a> * pService, <span class="keyword">const</span> QString &amp; sMethod);
<a name="l00191"></a>00191 
<a name="l00192"></a>00192 } <span class="comment">// namespace service</span>
<a name="l00193"></a>00193 } <span class="comment">// namespace qx</span>
<a name="l00194"></a>00194 
<a name="l00195"></a>00195 <a class="code" href="_qx_register_internal_helper_8h.html#ab59674c989ec494e098ae4a47f26881b">QX_REGISTER_INTERNAL_HELPER_HPP</a>(<a class="code" href="_qx_macro_8h.html#aa569abe24f343fdc4ad5e12e156ba8a2">QX_DLL_EXPORT</a>, <a class="code" href="classqx_1_1service_1_1_qx_transaction.html" title="qx::service::QxTransaction : transaction of QxService module (contains request from client and reply ...">qx::service::QxTransaction</a>, 0)
<a name="l00196"></a>00196 
<a name="l00197"></a>00197 <span class="preprocessor">#endif // _QX_SERVICE_TRANSACTION_H_</span>
<a name="l00198"></a>00198 <span class="preprocessor"></span><span class="preprocessor">#endif // _QX_ENABLE_QT_NETWORK</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_qx_transaction_8h.html">QxTransaction.h</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Sun Dec 11 2016 13:41:06 for QxOrm by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
